﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Home/Site.Master" Inherits="ProjetoComperio.SystemFramework.Web.ComperioViewPage<ProjetoComperio.DataLayer.Entities.Subject>" %>

<%@ Import Namespace="WebUI.GlobalResources.HtmlHelper" %>
<%@ Import Namespace="DataLayer" %>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        Nova Discussão</h2>
    <div>
        <% using (Html.BeginForm())
           { %>
        <label class="TextBoxLabel2 Textboxlabel" for="Title">
            Título:
        </label>
        <div class="div_texbox">
            <%= Html.TextBox("Title")%>
        </div>
        <%= Html.ValidationImage("Title")%>
        <br />
        <br />
        <label class="TextBoxLabel2 Textboxlabel" for="Message">
            Mensagem:
        </label>
        <div class="div_texbox">
            <%= Html.TextBox("Message")%>
        </div>
        <%= Html.ValidationImage("Message")%>
        <br />
        <br />
        <br />
        <br />
        <div style="width: 55%; margin-top: 60px">
            <%= this.CommandField(true, Request.UrlReferrer.ToString())  %>
        </div>
        <br />
        <br />
        <br />
        <br />
        <% } %>
    </div>
</asp:Content>
